using System;
using System.Collections.Generic;
using System.Text;
using System.Data.SqlClient;

namespace BookBarter
{
    public class TempTradeLink
    {
        //class variables
        private static List<TempTradeLink> tradeLinks = new List<TempTradeLink>();

        
        private TempTradeRoute tradeRoute;
        private BookWant bookWant;
        private BookHave bookHave;
        private TempTradeLink nextTradeLink;


        public BookWant Want
        {
            get
            {
                return bookWant;
            }
            private set
            {
                bookWant = value;
            }
        }
        public BookHave Have
        {
            get
            {
                return bookHave;
            }
            private set
            {
                bookHave = value;
            }
        }
        public TempTradeRoute Route
        {
            get
            {
                return tradeRoute;
            }
            private set
            {
                tradeRoute = value;
            }
        }

        public TempTradeLink NextTradeLink
        {
            get { return nextTradeLink; }
            set { nextTradeLink = value; }
        }


        public TempTradeLink()
        {
            
        }

        public TempTradeLink(BookHave newHave, BookWant newWant)
        {
            this.Have = newHave;
            this.Want = newWant;
        }

      
    }
}
